import Icon from '@/components/Icon';
import { View } from '@tarojs/components';
import Taro from '@tarojs/taro';
import React from 'react';
import styles from './index.h5.module.scss';

const SearchNavBar = ({}) => {
  return (
    <View className={styles.SearchNavBar}>
      <Icon
        className="img"
        name="a-tubiaoai_huaban2fuben31"
        size={40}
        color="#000000"
        onClick={() => {
          Taro.navigateTo({ url: '/mainSubPack/searchResult/index' });
        }}
      />
    </View>
  );
};

export default SearchNavBar;
